package com.bw.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bw.domain.SysDept;
import com.bw.domain.SysDictData;
import com.bw.service.SysDeptService;
import com.bw.mapper.SysDeptMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author xiaoabiao
* @description 针对表【sys_dept(部门表)】的数据库操作Service实现
* @createDate 2023-08-22 17:04:18
*/
@Service
public class SysDeptServiceImpl extends ServiceImpl<SysDeptMapper, SysDept>
    implements SysDeptService{

    @Override
    public List<SysDept> getcs(Long cs) {
        return baseMapper.getcs(cs);
    }

    @Override
    public SysDept getFarmerDept(Integer factoryId) {
        return baseMapper.getFarmerDept(factoryId);
    }
}




